﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProjectRoughWork
{
    class EventChangeGameState : BaseEventData
    {

        /// <summary>
        /// Default Constructor that initializes the event type and the new state
        /// </summary>
        /// <param name="initNewState">The new state of the game</param>

        public EventChangeGameState(ProjectGameLogic.GameState initNewState)
        {
            eventType = "ChangeGameState";

            newState = initNewState;
        }

        /// <summary>
        /// Property handling the accessing and mutating of the state variable
        /// </summary>

        public ProjectGameLogic.GameState NewState
        {
            get { return newState; }
            set { newState = value; }
        }
        
        //Data Members
        ProjectGameLogic.GameState newState;
    }
}
